chillihero
chillihero
Explore posts from servers
RRefine
Created by xenial-black on 3/4/2024 in #ask-any-question
Where is the mantine option when using the CLI or refine.new?
No description
6 replies
TTCTheo's Typesafe Cult
Created by chillihero on 2/2/2024 in #questions
Difference between profile, user and account type authjs
0.0
4 replies
TTCTheo's Typesafe Cult
Created by Sturlen on 2/5/2024 in #questions
How do you safely store your API keys?
everything you need is free :)
7 replies
TTCTheo's Typesafe Cult
Created by Sturlen on 2/5/2024 in #questions
How do you safely store your API keys?
you could consider using a service like doppler! https://www.doppler.com/ I am using it & loving it!
7 replies
TTCTheo's Typesafe Cult
Created by sachin on 2/2/2024 in #questions
Update Next-atuh version in T3 stack
I don’t actually know but I assume that they will once the v5 is out of beta
5 replies
TTCTheo's Typesafe Cult
Created by sachin on 2/2/2024 in #questions
Update Next-atuh version in T3 stack
Hi there! Upgrading to v5 will break things, that’s why there is a upgrading guide! find it here
5 replies
TTCTheo's Typesafe Cult
Created by chillihero on 2/2/2024 in #questions
Difference between profile, user and account type authjs
okay, so I found the following
/**
* When `trigger` is `"signIn"` or `"signUp"`, it will be a subset of {@link JWT},
* `name`, `email` and `image` will be included.
*
* Otherwise, it will be the full {@link JWT} for subsequent calls.
*/
token: JWT
/**
* Either the result of the {@link OAuthConfig.profile} or the {@link CredentialsConfig.authorize} callback.
* @note available when `trigger` is `"signIn"` or `"signUp"`.
*
* Resources:
* - [Credentials Provider](https://authjs.dev/reference/core/providers/credentials)
* - [User database model](https://authjs.dev/reference/core/adapters#user)
*/
user: User | AdapterUser
/**
* Contains information about the provider that was used to sign in.
* Also includes {@link TokenSet}
* @note available when `trigger` is `"signIn"` or `"signUp"`
*/
account: A | null
/**
* The OAuth profile returned from your provider.
* (In case of OIDC it will be the decoded ID Token or /userinfo response)
* @note available when `trigger` is `"signIn"`.
*/
profile?: P
/**
* When `trigger` is `"signIn"` or `"signUp"`, it will be a subset of {@link JWT},
* `name`, `email` and `image` will be included.
*
* Otherwise, it will be the full {@link JWT} for subsequent calls.
*/
token: JWT
/**
* Either the result of the {@link OAuthConfig.profile} or the {@link CredentialsConfig.authorize} callback.
* @note available when `trigger` is `"signIn"` or `"signUp"`.
*
* Resources:
* - [Credentials Provider](https://authjs.dev/reference/core/providers/credentials)
* - [User database model](https://authjs.dev/reference/core/adapters#user)
*/
user: User | AdapterUser
/**
* Contains information about the provider that was used to sign in.
* Also includes {@link TokenSet}
* @note available when `trigger` is `"signIn"` or `"signUp"`
*/
account: A | null
/**
* The OAuth profile returned from your provider.
* (In case of OIDC it will be the decoded ID Token or /userinfo response)
* @note available when `trigger` is `"signIn"`.
*/
profile?: P
4 replies
KKinde
Created by chillihero on 2/1/2024 in #💻┃support
Limitations of Discord Auth Integration
would be cool to have both functionality’s tho
11 replies
KKinde
Created by chillihero on 2/1/2024 in #💻┃support
Limitations of Discord Auth Integration
a generic way to add any of the scopes would be the most user friendly imo most important for the most part are guilds, guild.members.read, identify, email, messages.read and applications.commands.permissions.update
11 replies
KKinde
Created by chillihero on 2/1/2024 in #💻┃support
Limitations of Discord Auth Integration
but it should be able to be added/changed programmatically, in the callback for example
11 replies
KKinde
Created by chillihero on 2/1/2024 in #💻┃support
Limitations of Discord Auth Integration
and yes, adding custom fields would exactly be what I am looking for. i subscribed
11 replies
KKinde
Created by chillihero on 2/1/2024 in #💻┃support
Limitations of Discord Auth Integration
No description
11 replies
KKinde
Created by chillihero on 2/1/2024 in #💻┃support
Limitations of Discord Auth Integration
https://discord.com/oauth2/authorize?client_id=xyz&redirect_uri=https%3A%2F%2Fapp.kinde.com%2Flogin%2Fcallback&response_type=code&scope=email+identify thats the current url. the scope param is what I am talking about
11 replies
KKinde
Created by chillihero on 2/1/2024 in #💻┃support
Limitations of Discord Auth Integration
hey, thanks for the quick response. https://discord.com/developers/docs/topics/oauth2 is what I am talking about. Currently the discord integration per default requests email + user data, but there are more "scopes" that you can request from the user to get different data
11 replies
SIASapphire - Imagine a framework
Created by chillihero on 1/9/2024 in #sapphire-support
How to use "and" & "or" with preconditions?
ah wait as a guild owner / with administator permission you automatically have the manage server permission so the multiple preconditions are not necessary. would still intrest me tho
14 replies
SIASapphire - Imagine a framework
Created by chillihero on 1/9/2024 in #sapphire-support
How to use "and" & "or" with preconditions?
what would the result of this logic be? <Manager AND RoleHigher> OR GuildOwner OR GuildAdmin
14 replies
SIASapphire - Imagine a framework
Created by chillihero on 1/9/2024 in #sapphire-support
How to use "and" & "or" with preconditions?
easier syntax would be awesome
14 replies
SIASapphire - Imagine a framework
Created by Disuqi on 8/30/2023 in #sapphire-support
Sync Slash Commands with one Guild
nvm it was not
8 replies
SIASapphire - Imagine a framework
Created by Disuqi on 8/30/2023 in #sapphire-support
Sync Slash Commands with one Guild
public override registerApplicationCommands(
registry: ApplicationCommandRegistry
) {
const commandGuilds = process.env.NODE_ENV !== 'production' ?["ID_HERE"] : []; registry.registerChatInputCommand(
(command) => {
command.setName(this.name).setDescription(this.description);
},
{
idHints: [],
guildIds: commandGuilds,
}
);
}
public override registerApplicationCommands(
registry: ApplicationCommandRegistry
) {
const commandGuilds = process.env.NODE_ENV !== 'production' ?["ID_HERE"] : []; registry.registerChatInputCommand(
(command) => {
command.setName(this.name).setDescription(this.description);
},
{
idHints: [],
guildIds: commandGuilds,
}
);
}
Would solve the problem of changing guildCommands for prod & dev environment. (if you use two different ones) (not sure if i read that requirement from your message correctly)
8 replies
SIASapphire - Imagine a framework
Created by Oreo ™ on 8/2/2023 in #sapphire-support
editable commands
ah plugin, my bad
56 replies