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 handling space subdomain #7

Merged
merged 4 commits into from
Nov 3, 2022
Merged

Add handling space subdomain #7

merged 4 commits into from
Nov 3, 2022

Conversation

langalex
Copy link
Member

@langalex langalex commented Nov 3, 2022

When an app runs in a space's iframe on Cobot and that space has a custom domain, OAuth needs to use the custom domain and not www.cobot.me, otherwise users have to log in again when accessing the app. This is now accomplised by passing the space's subdomain to the /auth/cobot endpoint.

@langalex langalex merged commit f6634b0 into main Nov 3, 2022
@langalex langalex deleted the authorize-url-subdomain branch November 3, 2022 09:22
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.

1 participant