Skip to content

Conversation

@carrybit
Copy link
Contributor

@carrybit carrybit commented Mar 1, 2021

Custom HTTP headers on iOS

Description

Adds functionality for setting HTTP headers to be sent for authorize, register, and refresh requests on iOS.

The same HTTP headers are sent for all of the requests, which means it does not have the full custom experience as we have on Android, where the HTTP headers can be customized individually for each of the requests. Nevertheless, this is a step forward compared to now, as this will enable sending custom HTTP headers also on iOS.

Feature was originally implemented as a private patch to v5, to meet a requirement in a project I am currently working on, and this pull request has been created from that patch.

});
});

describe('useNonce parameter', () => {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The tests for nonce and usePKCE has been grouped into the authorize tests, as they were previously put amongst the refresh tests.

Copy link
Contributor

@kadikraman kadikraman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fantastic, thanks so much for taking the time to add this! 👏

@masiddee masiddee merged commit e3d8c37 into FormidableLabs:main Mar 10, 2021
@masiddee
Copy link
Contributor

Thanks again @carrybit! This is now released in v6.2.0 🚀

@carrybit
Copy link
Contributor Author

Sweet!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants