cloudcogsio
cloudcogsio
I've added a new Keycloak OAuth2 client with a branch that implements a use case for extending the base AccessToken. See https://github.com/cloudcogsio/oauth2-keycloak/blob/master/README.md#custom-access-token-class
You can probably adjust your code to catch the different exceptions? ```PHP try { $accessToken = $provider->getAccessToken($grant, array $options = []) } catch (IdentityProviderException $e) { // handle IdentityProviderException exceptions...
Proposed 1. New ```AbstractOIDCProvider``` that extends the base ```AbstractProvider``` but provides mechanisms for OIDC. 2. Custom Providers wishing to utilize OIDC should extend the ```AbstractOIDCProvider``` class. 3. An Interface which...
> Thank you for this :) You're welcome. Decided to make it available as a separate package. https://github.com/cloudcogsio/oauth2-openid-connect-discovery May close this PR or leave pending for 3.x consideration.
Would something like this work? https://github.com/thephpleague/oauth2-client/pull/899
Agreed. I'm not on the discord server, I should just create a discussion topic now that I think about it.
> I doubt this is a code issue as I'm sure many many other instances would have reported it. If you have access to the Joinmastodon.org discord, it may be...
After investigating it seems the bitnami docker image is setting an empty EMAIL_DOMAIN_ALLOWLIST environment variable. Modifying /opt/bitnami/scripts/mastodon-env.sh to remove the variable export resolved the issue.
These env. vars work for me on docker. I also use mailgun. - SMTP_SERVER=smtp.mailgun.org - SMTP_PORT=465 - SMTP_LOGIN=xxxxxxxxxxxxxxxxx - SMTP_PASSWORD=xxxxxxxxxxxxxxxxx - SMTP_SSL=true - SMTP_ENABLE_STARTTLS_AUTO=true - SMTP_OPENSSL_VERIFY_MODE=none - SMTP_FROM_ADDRESS=xxxxxxxxxxxx - SMTP_DELIVERY_METHOD=smtp...
``` docker compose down -v ``` This will remove named volumes when bringing down the containers. Update your compose with the updated image name, then bring the project up again....