Dan6erbond / sk-auth

Authentication library for use with SvelteKit featuring built-in OAuth providers and zero restriction customization!
MIT License
578 stars 70 forks source link

Add Okta Oauth provider #98

Open cmcculloh-kr opened 2 years ago

cmcculloh-kr commented 2 years ago

Adds a provider for Okta. Can be used using:

new OktaOAuth2Provider({
    oktaDomain: import.meta.env.VITE_OKTA_DOMAIN as string,
    clientId: import.meta.env.VITE_OKTA_CLIENTID as string,
    clientSecret: import.meta.env.VITE_OKTA_CLIENTSECRET as string
})

Supersedes #56

Dan6erbond commented 2 years ago

Hey! These looks great! I'll merge it after some testing. Thanks for the PR.