Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add optional license key to provide in auth url callback #84

Merged
merged 7 commits into from
Aug 27, 2024

Conversation

tarecord
Copy link
Contributor

@tarecord tarecord commented Aug 22, 2024

When a user is redirected to a site to generate a token, there is no way to generate a token for a specific license key.

This adds an optional fluent method so uplink_callback includes a license key to which the auth site can register an associated token.

App::get( Auth_Url_Builder::class )->set_license( 'some-license-key' )->build( 'event-tickets', 'some-domain.com' );

@tarecord tarecord requested review from borkweb and defunctl August 22, 2024 16:37
@tarecord tarecord self-assigned this Aug 22, 2024
@tarecord tarecord changed the title Add optional license param to provide in auth url callback Add optional license key to provide in auth url callback Aug 22, 2024
Copy link
Member

@borkweb borkweb left a comment

Choose a reason for hiding this comment

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

Glorious!

@tarecord tarecord merged commit 7fe3413 into main Aug 27, 2024
13 checks passed
@tarecord tarecord deleted the feature/provide-license-in-auth-url branch August 27, 2024 14:27
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.

2 participants