#development

1 messages ยท Page 277 of 1

sharp geyser
#

Any space becomes a -

pearl trail
#

yeah right

sharp geyser
#

So his case still wouldnโ€™t work

delicate zephyr
#

you tried doing it via the api

#

:^)

slender wagon
#

do you guys know any open source bots like double counter?
verification on site and avoiding vpns etc

slender wagon
#

the thing is i need it for my community and i dont really have the time to do so

eternal osprey
#

many vpns have a distinctive signature

slender wagon
#

Since this includes more than the ip

delicate zephyr
#

oh wait

#

you said OSS

#

nvm

slender wagon
#

yeah some kids are getting on my nerves

#

they have a bunch of tokens and join the server like 20 times

#

after getting banned each time

#

and i REALLY dont want to use double counter

sharp geyser
#

I am using C# right, and I have since learned of using multiple projects in one solution.

#

I am wondering how configuration works amongst the different projects (aka class libraries) from the "main" project

vivid fulcrum
#

what do you want to know

sharp geyser
#

How do I make configuration work across the projects

vivid fulcrum
#

what are you configuring? do you want to link class libs to your parent project

sharp geyser
#

I need to be able to access my db config variables in my Database class library project

vivid fulcrum
#

ah yeah

#

you want to use references. dotnet reference

sharp geyser
#

Right I know of references

#

but im worried isn't there circular deps?

vivid fulcrum
#

well if there are you fucked up your design somewhere

#

that shouldn't happen

sharp geyser
vivid fulcrum
#

class libs should always depend to the main project, main to class libs almost never

sharp geyser
#

Right

#

So how do they handle configs then?

#

Surely they dont hardcode it in

#

I guess they use a secrets manager?

#

like doppler

vivid fulcrum
#

I don't know how your project looks like nor what you're trying to do
if you depend on something in the main project, consider throwing it out into another class lib

sharp geyser
#

Well right now im just wondering how I handle configuration

#

Cause I definitely will be needing to use constants in multiple class libraries

vivid fulcrum
#

so have a common project

sharp geyser
#

like a Config class library?

vivid fulcrum
#

dude, what are you trying to do?

sharp geyser
#

I think i've been fairly clear

#

What more are you wondering

vivid fulcrum
#

are you in an asp.net app looking to configure it? or are you trying to implement a configuration system from sctrach

sharp geyser
#

Because I am answering the best I can

delicate zephyr
#

can't you just use something like a yaml/.env/.conf file

vivid fulcrum
#

there's built in configuration for asp.net

#

so you already have a config, appsettings.json

sharp geyser
#

๐Ÿ‘

vivid fulcrum
#

there's an example in the doc how to use it with IConfiguration, all you have to do is inject it

sharp geyser
#

Gotcha thanks

vivid fulcrum
sharp geyser
#

How come?

delicate zephyr
#

just overall better practice iirc

sharp geyser
#

Does it not get turned into env variables when building?

#

Do you have to keep the appsettings file with the compiled binary?

sharp geyser
#

Gotcha

prime cliff
#

Right click on a project to configure dependency

sharp geyser
#

Ima just use env variables

prime cliff
#

That would be annoying and you would have to have them in your github (unless ignored) and also when you publish them it wont have it unless you use .env.

The shared project class can have static methods and extension that can be used.

sharp geyser
prime cliff
#

In what way? like being built, debugging or?

sharp geyser
#

As in, like lets say Project.Database depends on Project.Shared and then Project.Main depends on Project.Database and Project.Shared

prime cliff
#

Yea that would be fine

sharp geyser
#

Really?

#

Im used to that being a circular dep

#

Also isn't hardcoding the variables bad practice

prime cliff
#

Yea you can do circular deps you just need to add a reference/dependency to it

sharp geyser
#

Gotcha

prime cliff
#

Updated Dev Space v1.0.23 with the root/main url now showing my teams now ๐Ÿ‘

#

I plan to make it a more dynamic home page like how Azure lists recent and pinned resources and other information/stats

sharp geyser
#

Ah cool

#

Sounds nice!

warped glacier
#

Its been 6 hours. Just got it back online. The test bot and the push bot is now online!

neon leaf
#

best archive format ๐Ÿ”ฅ

-rw-r--r-- 1 root root 865392640 Apr 17 02:10 a.tar
-rw-r--r-- 1 root root 760800076 Apr 17 02:12 a.ddup.gz
-rw-r--r-- 1 root root 760818322 Apr 17 02:09 a.tar.gz
-rw-r--r-- 1 root root 761267561 Apr 17 02:14 a.zip```
#
ar -C g
    Finished `release` profile [optimized] target(s) in 0.08s
     Running `target/release/ddup-bak decode a.ddup g`
File count: 560

real    0m1.574s
user    0m0.045s
sys     0m1.418s
root@remotedev:~/projects/0x7d8/ddup-bak# time tar -xf a.tar -C g

real    0m1.512s
user    0m0.013s
sys     0m1.437s
root@remotedev:~/projects/0x7d8/ddup-bak# ```
warped glacier
#

Thats fine my bot logs all messages 3 time.s

sharp geyser
#

It amazes me how stupidly easy it is to implement email & password authentication in asp.net

prime cliff
#

Asp.net identity is pretty nice to use yea, oauth stuff a bit more annoying depending on service

sharp geyser
#

Yea

#

I mean, I plan on handling oauth2 myself without identity since its not important

#

Since all ima use it for is linking their discord account to their account if they want to

prime cliff
#

I think it's like gitlab oauth apps only allow 1 redirect url ;-;

sharp geyser
#

So no real need to make use of Identity for that, just make some redirects and api calls ezpz

#

I notice Identity incorporates 2FA though thats rather interesting

#

I thought that was something I was going to have to use a separate lib for, or do it myself

#

So its nice knowing its included

prime cliff
#

Actually not gitlab something else had only 1 redirect url

#

Github that's it

wheat mesa
#

Identity is nice for oauth as well

delicate zephyr
#

@prime cliff do you use supabase at all

sharp geyser
#

Indeed it is

delicate zephyr
#

or do you do your own auth?

wheat mesa
#

You can kinda make a hybrid between built in and custom

sharp geyser
#

I just don't have a need for using Identity with oauth

#

All I will do with oauth is linking their discord account to their user account

#

So its simple to do myself

prime cliff
#

I use authentik for my auth system really nice setup and dynamic policies

sharp geyser
#

I usually use Zitadel for my auth system

delicate zephyr
#

ah

sharp geyser
#

but digital oceans a bitch and wont let me use SMTP protocols

#

Having a proper auth system would be so much nicer Waaaaaah

delicate zephyr
#

cause honestly I dont wanna roll my own auth for sra

#

lmao

sharp geyser
#

Authentik looks legit actually

delicate zephyr
#

im looking at self-hosting supabase rn

#

and comparing

sharp geyser
#

How is it's response times for support?

#

What I use currently which is Zitadel, while they are helpful it can take a week to get a response back

#

๐Ÿ’€

lament rock
#

Sup luke

delicate zephyr
#

henlo Papi

sharp geyser
#

ayo?

prime cliff
#

Authentik uses python syntax for custom policies so you can do stuff like this to get request data and block it with a custom message.

blocked_domains = ["example.net", "example.com"]
current_domain = request.context["prompt_data"]["email"].split("@")[1].lower()

if current_domain == 'fluxpoint.dev':
  ak_message("Nice try :)")
  return False

if current_domain in blocked_domains:
    ak_message("This email is domain is blocked.")
    return False

return True```
sharp geyser
#

That's cool

#

Zitadel doesn't allow blocking requests

delicate zephyr
#

im just trying to find the easiest way to roll auth

#

so I can work on stripe shit

sharp geyser
#

Cause what I mainly need to do for one of my projects is if the email being used to register isn't in a "allowed" list, then I need to essentially deny the request

delicate zephyr
#

cause stripe stuff is and always will be a bitch

sharp geyser
#

Bro

#

Stripe

#

My god dont get me fucking started

delicate zephyr
#

tho theo's implementation is actually gonna save me

sharp geyser
#

I have my own can of worms with stripe that I wanted to chew their asses out for

delicate zephyr
prime cliff
#

Meanwhile paypals api z_kekBoom
Bunch of different v2/v3 endpoints with weird brand settings and context, dev portal that auto logs out after a few mins and really weird live restrictions

delicate zephyr
#

my god I need to find a dark theme terminal session manager thats free

#

๐Ÿ’€

lament rock
delicate zephyr
lament rock
#

Too much software these days that makes the devs go mad

delicate zephyr
#

but TLDR; use KV and keep stripe shit in one place, then sync between services

sharp geyser
#

Stripe makes walking into fire seem like a good idea

prime cliff
#

Wait redis as a KV isnt that temp data not....

delicate zephyr
#

it has persistence

sharp geyser
#

not necessarily

delicate zephyr
#

KeyDB is just a fork of redis

sharp geyser
#

using redis for persistence seems dumb tho no?

lament rock
#

I have a serious backlog of things I need to do for the Discord libs I maintain. I've only been focusing on the REST and gateway libs and I need to implement better rate limit handling for the REST portion. Then I need to do a total rewrite of the cache lib because it's way outdated

delicate zephyr
#

but better

prime cliff
#

Hu really interesting

delicate zephyr
#

topstats uses redis

#

with persistence

#

its gonna use KeyDB for stripe stuff prolly

#

purely for speed

#

KeyDB was made by snapchat btw :^)

prime cliff
#

Oh 250 event types with no consitency and not in order my fav

sharp geyser
#

Why would stripe make it easy for you

lament rock
#

Whats the use case of a rigid cache from redis if it brands itself as a fast cache? Maybe if the cache is really expensive to rebuild, but I'm yet to run into any real world examples

sharp geyser
#

its not their problem

sharp geyser
#

Thank you for notifying me of it

delicate zephyr
#

well used to be

sharp geyser
#

seems like a better option than zitadel

delicate zephyr
#

theres no cache apart from search caching on topstats rn

lament rock
#

Ah ok

#

Fair

prime cliff
#

Sounds a bit like this software that's $100 per-user z_kekBoom
Just raw data responses no descriptions and out of place naming schemes

delicate zephyr
#

when you view a bot page on topstats

#

it's all directly from db

prime cliff
#

mmLol very consistent

warped glacier
#

You:

"Small change. Totally safe. Straight to production."

The bot (seconds later):

Traceback (most chaotic line you've ever seen)
"btw I banned 300 users. Oops."

You:

โ€œWHO WROTE THIS?!โ€
(Also you, 15 minutes ago)

#

Me and GPT were joking about how i started with no checks. Just hardcoaded everything w no backups

#

And now im dying laughing

spark flint
#

i hate theo with a passion

wheat mesa
#

I hate most programming YouTubers

spark flint
#

theo is just egotistical

wheat mesa
#

They all are

spark flint
#

literally needs to get a life

#

yeah but he is like next level

#

his tweets are so funny cuz like

#

no one cares

delicate zephyr
#

honestly

#

I don't like the way you simply just shout his opinion is invalid

#

I don't agree with every take he has, sure

#

but the stripe stuff is genuinely great, he did an over hour long video on it

#

saying someones opinion is invalid purely because you dislike them or you disagree with them frequently is immature

delicate zephyr
warped glacier
# spark flint theo is just egotistical

Your welcome to have a opinion But atleast be chill about it. Back it up with some evidence and instead of just "I dont like theo" be like "Eh theo is kinda not good"

delicate zephyr
#

Tbf Theo can come off as very hyper/pushy about his points

#

he's also very opinionated at times

#

the research he does is still decent tho

warped glacier
#

Thats why i said back it up. THen its more of a open descussion

delicate zephyr
#

Fair

sharp geyser
#

Yea well I don't like the way Villager Nuke talks about Villagers

delicate zephyr
#

you'd giggle if you knew why i got named this

spark flint
#

for example, someone made a t4 stack (called that because its the top 4 performing libraries for react)

#

and he instantly sent his community to attack them saying its a copy of t3 and that it was 'stealing from his likeness'

#

when in reality, it was just someone making a boilerplate using top react libraries

#

when called out for it, he dug through the creators posts to try and find dirt against him

#

and trying to ruin his rep

warped glacier
spark flint
#

he also strongly dislikes js, so what does he do? open issues on popular repos saying please rewrite in ts and throwing a hissy fit when they say no

spark flint
#

then someone cancelled their t3 sub saying it was to expensive - what does he do? make it so you can't cancel for the price anymore

#

he's just repeatedly toxic in the dev community, all he does is complain and gives pretty much the entire js/ts community a bad name

#

i used to like him but literally all he does is cause problems and act like a saviour trying to fix them

warped glacier
#

Freal tho. So waht that he does. is just disagrees with alot. I dont see a issue with it. He wants to disagree just ignore him.

delicate zephyr
#

I haven't really seen much of that

#

thought yea I get that sometimes he's pushy with his opinions

#

he still posts some cool yt stuff

#

I stay away from twitter for the exact reason you show

spark flint
#

i wouldn't hate on him as much if he wasn't so pushy and toxic towards people

delicate zephyr
#

Dev twitter space has and always will be a massive pissing contest, because twitter

#

Drama ain't worth troubling myself about honestly

#

I care more about the opinions and how things do what they do

#

so I watch his videos about cool tech and leave it at that

#

Don't even watch his streams lol

delicate zephyr
#

but I tend to stay the hell out of the way of large dev people for this reason

spark flint
#

pretty sure he also deflected peoples issues with him and blamed it all on autism or smth

#

anyways

delicate zephyr
#

that I heard yea

#

he seems somewhat okay now

#

probably because Primeagen and others have told him to STFU multiple times

spark flint
#

i dont watch his content anymore, theres some smaller creators i tend to watch because they have a smaller community thats kinder lul

elfin helm
#

I've got an idea (well, not just an idea, it's built) for a discord bot that I don't think I've seen done at all but would be useful to servers related to a game / games. But it's kinda easy to replicate.

What do I do? I know I can't stop people to replicate a similar sort of bot, I'm just racking my head for features that would be hard to replicate. Or do I just not bother with that and solely focus on trying to get users

spark flint
#

market yourself as the only bot in the market for that niche

#

if people make their own, so be it - make yours the stand out one that people want to use

#

continue building on that idea and keep yours up to date

elfin helm
#

How does one market a discord bot other than bot list sites and maybe a simple website

For anything else I'd probably think social media, but when's the last time you saw a video or a post on social media about a discord bot and then adding that bot to servers you own?

elfin helm
lament rock
elfin helm
#

Right, yeah I can do that

lament rock
#

And that can be another point of talking like some people give up on their bot with the mentality if it aint broke dont fix it

elfin helm
#

Should I wait till interactions v2 then ๐Ÿค”

lament rock
#

Always search for ways to improve user experience

#

wtf is interactions v2. Do you mean components v2? That's coming out very soon

elfin helm
#

Probably got muddled with the naming but yeah lol

lament rock
#

Most libs already have the support for it for when the gate does get lifted

elfin helm
#

I heard it got delayed

lament rock
#

Rn it's available in a special server lib devs were let into

elfin helm
#

I really would've liked if they updated modals too

lament rock
#

We can only hope. Dv8 said they're trying to match stuff with GDC, but they're aiming for an April/May release

#

Which is fair. They just dropped their new game overlay

#

Honestly, cv2 isn't that big of a change. It's quite simple to translate a content/embed workflow into cv2

elfin helm
#

Only thing I can remember is buttons being within the embedded message but I'm sure there was a few other things

lament rock
#

I'd start while you're ahead and you can already build off cv2 and if you need to test early, can add a quick intermediary to translate back to content/embeds until the gate is lifted

lament rock
#

Theres some other cool stuff like dividers and spacers

prime cliff
lament rock
#

So yeah obviously you have to verify the interaction is from discord if you're using the webhook, but over the gateway, you don't have to. By permissions, I meant Discord permissions like embed content or send messages. If you receive an interaction, you're basically guaranteed to be able to respond with whatever you want save for the case where the interaction is expired or somehow gets deleted before you can respond

prime cliff
#

Not that i mean user permissions and user checks

#

Say if you have an ephemeral message button that is only shown on a /dev interaction command you can run the button itself needs those checks too you can't rely on client data

lament rock
#

I still fail to grasp what you're trying to get at

prime cliff
#

Message you can't see
Button [ id dev-button ]

A user can spoof a request with that interaction id

#

It's like hiding you api routes in the js code of a website but they are not secure

lament rock
#

Oh. I see what you're saying. So I'm rather fortunate that I built a system where every button is assigned a unique ID never reused and I encode special route info in the custom id like which worker the button came from. Theoretically, someone could engineer an attack on my bot assuming they know the unique ID and the required data

delicate zephyr
lament rock
#

They'd also have to learn my special JSON encoder format that isn't really JSON

#

I call it ASON

delicate zephyr
#

I would like to know

lament rock
#

Would recommend

delicate zephyr
#

what the acronym for that is

lament rock
#

Sure one sec

prime cliff
prime cliff
#

No

delicate zephyr
#

surprising

lament rock
delicate zephyr
#

LMAO

#

vibe

delicate zephyr
# prime cliff No

ik mee6's user endpoint and servers endpoint used to be unauthenticated

#

lmao

lament rock
#

I think this actually isn't as stupid as some people might believe

delicate zephyr
#

whats the max length of a custom-id

lament rock
#

encoding data into the button custom id was something I really needed and being able to stuff as much data as possible while still being able to get the data back without some stupidly complex parser was necessary

#

100 characters

delicate zephyr
#

yea thats sweet

lament rock
#

really ASON is just slimmer JSON

delicate zephyr
#

actually

#

I should know that

#

I ran into the custom id limit

#

with @ruby marsh

#

lmao

lament rock
#

Lmao

prime cliff
# prime cliff One of the big Discord bots did this where a dev page for Discord servers could ...

A vulnerability was found in the Discord bot, Captcha.bot. And I hacked into the bot and gave myself admin on a Discord server. But when I told the bot owner/developer about this, he said...

Wow I'm a tease. But yessir, it's another video where I talk about the abhorrent security of Discord bots and how easily they can be hacked. And in this ca...

โ–ถ Play video
delicate zephyr
#

Ah captcha bot

#

@lament rock

#

this is how I do it

#

yes it's discord.js

#

it's also a 1 file bot

warped glacier
delicate zephyr
lament rock
#

I mean hey if it isn't like a big thing use whatever lib you want

delicate zephyr
#

true

lament rock
#

but I have very choice words if you want to scale

delicate zephyr
#

that plus it took me like 4-6 hours to make

#

lmao

warped glacier
#

Js is decent. Java is like OMG. Py is like eh.

delicate zephyr
warped glacier
#

Rust says "FCK YOU"

delicate zephyr
#

I use multiple clustering things

#
  • nirn-proxy
#
  • other shit
lament rock
#

โค๏ธโ€๐Ÿ”ฅ would be supporting me

warped glacier
prime cliff
lament rock
#

Devs need to learn security or never make public projects

delicate zephyr
lament rock
#

Thanks bestie

delicate zephyr
#

only ehhhh

#

is zlib

#

I had to modify node-zlib once

#

cause uh, mem leak

lament rock
#

Was probably gonna use a zlib flavor Tim made

#

Tim already helped with the socket code

delicate zephyr
#

fast-zlib?

lament rock
#

Yeah

delicate zephyr
#

iirc it didnt matter which zlib I used

#

I was handling 2-3k events/s

#

and it just slowed down the mem leak

#

js and compression dont like eachother

lament rock
#

At my bot's peak, I was in 10k servers handling an ungodly amount of message creates per second and never had issues, but I'm yet to hit that peak back since I deleted the bot (bad decision. lost my early dev badge)

delicate zephyr
#

(i was dealing with presence events lmao)

#

man I need to revive shiro

lament rock
#

Ah I turned that shit off after I did an investigation why discord.js was eating all my memory

delicate zephyr
#

Oh I was gonna implement redis-caching for discord.js

#

lol

lament rock
#

djs v11 was whack on api v6

delicate zephyr
#

discord.js should work fine on a KV store cache tbh

#

it's just making sure nothing bad breaks

lament rock
#

Only thing I can think of that would cause issues is the fact that a lot of stuff would now need to become async

delicate zephyr
#

hm?

lament rock
#

so have to patch the lib and the typings

#

Or is this just dev side

delicate zephyr
#

this is modifying the internals

#

cant you tell discord.js to use different cache stores?

lament rock
#

Yup I assumed that it was nuking the Collection caches

#

Not that im aware of

#

Really I've only seen 1 lib allow custom cache impls and thats RainCache

#

But I need to update that

delicate zephyr
#

i'll worry about that when SRA is at a point I can lol

lament rock
#

Still a raw api enjoyer

#

Would recommend. Makes things a lot less convoluted when you're in control of basically everything

delicate zephyr
prime cliff
#

Api + Insomnia client Nodders

delicate zephyr
#

I might try it again in the future

delicate zephyr
#

Went to the next thing the founder made

#

YAAK

prime cliff
#

Yea they did ruin it but it still works best over postman

delicate zephyr
#

Insomnia without the cloud bs

#

Look at Yaak

prime cliff
#

Will do bit too purply though

delicate zephyr
#

Meh better than cloud pushing shit

#

I donโ€™t mind it

prime cliff
#

I might actually create a http client myself tbh especially since insomnia really dosen't like self certs in a few cases especially websockets despite having an option to ignore it or being trusted by windows cert store

lament rock
#

I had intended on making an HTTP/2 and probably a Quic client and server impl for js

#

Since there isn't much if anything on that end

#

Once I finish my backlog of other things

#

Just need to learn how to better work with Buffers

#

Should be a fun project. Totally won't get any CVEs :)

sharp geyser
#

So its similar to postman without the annoying bs?

delicate zephyr
sharp geyser
#

oh neat

delicate zephyr
#

Before he sold to kong

#

Thereโ€™s actually a blog post about mistakes he made with insomnia

#

lol

#

And what he wants to do to change it

sharp geyser
#

Interesting

#

I am seeing a lot new tech in the industry

#

Looks sick

#

Finally good to see people making valid improvements

sharp geyser
#

Tried adding my AWS ec2 to devspace and its not discoverable

#

I opened that port on the firewall

prime cliff
#

You leaked your ip and key btw

sharp geyser
#

idc bout ip and key oh well

#

but yea

#

I opened port 5555 on firewall

prime cliff
#

Maybe the same situation with DO ports not being allowed at a specific range maybe try doing the ping thing

#

A curl https://1.1.1.1:5555/discover with the agent ip

#

Might warn about self cert

sharp geyser
#

Let's try

#

Doesn't log anything

prime cliff
#

Try with /discover

sharp geyser
#

Still nothing

prime cliff
#

Wait what

sharp geyser
#

empty

prime cliff
#

Ok yea something is blocking it in AWS can't open it in browser either

sharp geyser
#

I can't tell what

#

Guess its bout time to email them

prime cliff
#

Dont you need to set AWS to allow those ports with a security rule or something blocking inbound

sharp geyser
#

idfk tbh

#

First time using aws

prime cliff
#

Also dont AWS services get their own service url you can use? Based on its name?

sharp geyser
#

Maybe

#

I literally know squat about aws

prime cliff
#

Yea they do ec2-xx-xx-xx-xx.compute-1.amazonaws.com:5555

sharp geyser
#

ec2-3-16-51-160.us-east-2.compute.amazonaws.com

#

oh this

delicate zephyr
#

this reminds me

#

I need to unban amazon from SRA

#

banning ASN's was not my best moment

sharp geyser
#

you banned amazon?

delicate zephyr
#

I had like 50 Amazon AWS ips

#

just slam me

sharp geyser
#

Damn

delicate zephyr
#

was around 2.5m req/s too

#

was nuts

sharp geyser
#

Gawt damn

#

Keep it banned

delicate zephyr
#

nah

#

I reported the ips

sharp geyser
#

AWS blows, only using it cause free vps for a month for a whole year

delicate zephyr
#

pretty sure should be fine now

#

lol

sharp geyser
#

just using it for auth server mmLol

prime cliff
#

Try setting the server up with the e2 url since it can see the server now

sharp geyser
#

like this?

prime cliff
sharp geyser
#

๐Ÿคž

prime cliff
#

You should clear the key in Data/Config.json and restart the agent btw to regenerate it just to be safe

sharp geyser
#

How long should it take to add

#

Cuz uhm

#

it still hasn't added it

prime cliff
#

Should be instant unless the delay is something blocking it and then that timeout

sharp geyser
#

I love stuff that is beyond me

#

cuz idk how to fix it

prime cliff
#

I can test in afternoon later

sharp geyser
#

Can I please just be dumb backend programmer

#

I hate setting up anything

#

I thought this would be quick and simple

prime cliff
#

Well not in these kinds of environments there's always an edge case xD

sharp geyser
#

Guess I do have to add a security group

#

Let me try

prime cliff
#

You already know that as a dev how hard it is to support a ton of stuff with various requirements and annoying issues xD

sharp geyser
#

Yup

#

Great

#

I rebooted my instance and can't connect to it

#

PROBABLY CAUSE PORT 22 ISN"T EXPOSED GOD DAMNIT

#

Fuck I hate my life

#

I always forget to expose port 22 when I enable the firewall

delicate zephyr
#

this is why I setup a wireguard vpn

#

that can access any machine on my /28 subnet

#

lmao

#

gone are the days of opening port 22

prime cliff
#

Should have used hamachi mmLol

delicate zephyr
#

christ

#

I havent heard that name in a decade

sharp geyser
#

I havent heard that name ever

sharp geyser
#

ur words of wizardry are beyond me

delicate zephyr
#

I dont open any ports unless necessary

#

if I dont have my vpn on

#

ports arent open

prime cliff
#

You can create a private vpn network with multiple servers and you connect to that vpn to access your servers internally essentially

delicate zephyr
#

^

prime cliff
#

Cloudflare has a similar thing with their warp stuff

delicate zephyr
#

proxmox helps

sharp geyser
#

Yea

#

this is all beyond me guys

#

Im dumb backend dev

#

not network IT guy

prime cliff
sharp geyser
#

I have completely locked myself out of my ec2

#

lovely

prime cliff
#

It has a local ssh/erm whats it called

sharp geyser
#

VNC

prime cliff
#

Vnc

sharp geyser
#

sadly no

#

There is no VNC built into ec2

prime cliff
#

Wait what

delicate zephyr
#

considering its literally a vm

#

thats fucking ridiculous

#

not even having a Web Terminal

sharp geyser
#

fixed it by just launching a new instance

#

and this time not fucking up and not adding port 22

#

:))

#

Now devspace can manage it

#

and I can move on to using authentik tmrw

#

Also this is funny

#

puny ass memory tho

pearl trail
#

lmao

lament rock
prime cliff
#

My authentik uses 900mb

neon horizon
#

Hallo zusammen wie kann ich den Button zu einem switch Button machen ? (wegen dem meme code ) <div style="background-color: #1e1e2f; padding: 20px; border-radius: 12px; width: 400px; height: 195.94px; color: white; font-family: Arial, sans-serif; margin: 30px auto; text-align: center; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);"> <h2 style="font-size: 24px; margin-bottom: 10px;">Test4000</h2> <p style="font-size: 16px; line-height: 1.6;">eine naricht XD.</p> <a href="/server/{{id}}/settings/meme_feature" class="link"> <button class="button" id="testButton" style="padding: 10px 20px; font-size: 16px; border: none; border-radius: 5px; background-color: #2ecc71; color: white; cursor: pointer;">Beispiel-Feature</button> </a> </div> danke an jedem im vorauss โค๏ธ

shut widget
#

Heeya guys i have question! How long it can take to review my bot?

deft wolf
#

Few days

#

The time varies depending on how much free time the reviewers have and how many bots are in the queue

neon horizon
small tangle
#
neon horizon
#

For my /meme command

#

<a href="/server/{{id}}/settings/meme_feature" class="link">

#

you know ?

vivid fulcrum
#

if so, hrefs are not for that

neon horizon
#

i have it fix but thanks !

neon horizon
#

ich mรถchte gerne meine website verรถffentlichen benutze Termius wie kann ich machen das meine Datenbank lรคuft ? ```class FeatureDB(ezcord.DBHandler):
def init(self):
super().init("meme.db")

async def setup(self):
    await self.exec(
        """CREATE TABLE IF NOT EXISTS settings (
        guild_id INTEGER PRIMARY KEY,
        meme_feature INTEGER DEFAULT 0
        )"""
    )

async def get_setting(self, guild_id, feature):
    return await self.one(f"SELECT {feature} FROM settings WHERE guild_id=?", guild_id)

async def toggle_setting(self, guild_id, feature):
    await self.exec("INSERT OR IGNORE INTO settings (guild_id) VALUES (?)", guild_id)
    await self.exec(
        f"UPDATE settings SET {feature} = NOT {feature} WHERE guild_id = ?", guild_id
    )``` also auch das รคnderungen dort vorgenommen werden kรถnnen und so ?
neon leaf
#

best archive format ๐Ÿ”ฅ

-rw-r--r-- 1 root root 761264059 Apr 17 18:54 a.zip```

compress
```root@remotedev:~/projects/0x7d8/ddup-bak/testing# time ../target/release/ddup-bak encode a a.ddup > /dev/null

real    0m15.274s
user    0m14.396s
sys     0m0.804s
root@remotedev:~/projects/0x7d8/ddup-bak/testing# time zip -rq a.zip a

real    0m12.217s
user    0m11.464s
sys     0m0.752s
root@remotedev:~/projects/0x7d8/ddup-bak/testing# ```

decompress
```root@remotedev:~/projects/0x7d8/ddup-bak/testing# time ../target/release/ddup-bak decode a.ddup a2 > /dev/null

real    0m1.148s
user    0m0.468s
sys     0m0.679s
root@remotedev:~/projects/0x7d8/ddup-bak/testing# time unzip -q a.zip -d a2

real    0m2.919s
user    0m2.438s
sys     0m0.480s
root@remotedev:~/projects/0x7d8/ddup-bak/testing# ```
neon horizon
sharp geyser
#

Why is GCP so fucking slow

#

It appalls me

deft wolf
#

Don't join this server

#

@solemn latch support scam

solemn latch
#

ty

deft wolf
#

๐Ÿ’–

raven cobalt
#

tes

sharp geyser
#

@prime cliff how long does it take authentik to start ๐Ÿ˜ญ

#

Jesus

#

I guess first starts are slow

prime cliff
#

a minute or two but you can check logs

sharp geyser
#

hopefully not restarts

prime cliff
#

I mean you're not gonna be restarting it often so xD

sharp geyser
#

I mean fair

#

Interesting

#

This looks neat

sharp geyser
#

I will def check it out more

#

thanks for recommendation

eternal osprey
#

hey someone told me i could use .setName on a channel with spaces etc.

#

Sadly i can't

#

but i do see a lot of ppl having that though, so is there a workaround?

charred nest
#

spaces in channel names don't work and afaik discord patched the invisible unicode characters that people used at one point for it
edit: in text channels. voice channels can have spaces

eternal osprey
#

i see

#

still got a lot of ppl that have that in their channel names

queen needle
#

Iirc there was a one day issue, where there wasn't the check

#

Fixed soon after but there was still time in-between

sharp geyser
#

Gotta have an enterprise license for Microsoft or Google auth

prime cliff
#

Hu?

sharp geyser
#

Unless im reading it wrong

#

Unless I can just use the Oauth2/OpenID Provider option

delicate zephyr
#

So

#

I found something cool

sharp geyser
#

Which thinkin about it I probably can so idk why they have specific options for entra and google

delicate zephyr
#

Thatโ€™s easily self hostable

sharp geyser
#

What's that

delicate zephyr
#

Was looking for a decent alternative to clerk and found this

sharp geyser
#

Interesting

#

Have you heard of zitadel?

#

It's rather nice, but it still can use some work

#

I am still exploring the market though

prime cliff
#

Yea use openid

sharp geyser
#

Oh cool, why do they have specific options

#

Seems stupid

prime cliff
#

I think those enterprise options are basically for like user syncinhlg and other stuff maybe? Idk

sharp geyser
#

user syncing?

sharp geyser
#

It has everything supertokens has and more for free when you self host it

#

the only sucky thing is the support server is slow asf

#

It only seemingly lacks one thing, and thats the ability to intercept requests and cancel them before any auth actually happens, which is what I need

prime cliff
#

Yea like how azure directory has users that you can sync to authentik

sharp geyser
#

According to builderb I can do that with authentik tho

prime cliff
#

Does zitadel not have like policies or permission based restrictions?

sharp geyser
#

It should

sharp geyser
#

it uses role based auth

prime cliff
#

Not even per user or based on incoming data like emails that's pretty weird tbh for an auth software to not have basic auth stuff xD

sharp geyser
#

Yea

#

Idk

#

I like zitadel but I found myself having to do quite a bit on my end

#

For one of my projects that I feel like not doing auth for myself I was going to use zitadel

#

until I found out that I can't intercept auth requests how I would want to.

#

Since I need to deny authentication (aka registering or logging in) if their email domain isn't authorized

#

Which brings a lot of headaches for me cause now I can no longer just give it all to zitadel to handle, I have to do way more work than I would want. Which defeats the purpose of even using an IDP

prime cliff
#

Authentik is great but definitely needs some polish tbh

sharp geyser
#

It looks great so far

#

Still setting it up fully before I can go and test it iara_lul_haha

#

There's another project that is definitely not for the lighthearted people

#

its called ORY

#

It's rather extensive

prime cliff
#

Yea basically an oauth/login request goes through a stage that can be set with multiple policies and per-role/user restrictions and can be sent to the next stage or deny

sharp geyser
#

and def not for noobies like me

sharp geyser
#

Assuming im understanding correctly

#

Sounds like i'd be able to accomplish what I want

sharp geyser
#

for those who are curious

#

Ory is absolutely fucking massive and very extensive in terms of setting it up

#

It splits it into 4 different projects each doing its own thing for like Roles & Permissions, Identity Management, Validation

prime cliff
#

Yea like a stage can be information, form, action or writing to the user and shows a neat diagram of the stages

sharp geyser
#

:o

#

Interesting

prime cliff
#

You can set like custom oauth flows and user registration that adds them to a group for example

sharp geyser
#

So like a "User" group or "Staff" group

#

Does authentik use role based auth

prime cliff
#

User and roles

sharp geyser
#

nice

prime cliff
#

These default flows are also the built-in account settings, 2FA and other interactions on the user side so everything is customizable

sharp geyser
#

Dang that sounds sick

#

Can't wait to really dive into it

#

:p

lament rock
#

God I hate Unity Animators

sharp geyser
#

This may sound like a stupid question

#

but I can use authentik for multiple projects right

#

like I dont need to host another instance for a different project?

sharp geyser
prime cliff
#

Yea you can use an oauth/openid for this and multiple providers (projects)

sharp geyser
#

Not sure I follow in that regard

#

What I am asking is can I use one instance of authentik to like say provide auth for project A and then auth for project B

lament rock
#

Animator State transition Exit time only works in normalized time instead of having a fixed time like transitions do. I have to make an animation that does an inconsequential action to act as a noop for the desired time and then set the exit time to 1 to wait for the clip to "finish"

prime cliff
#

Each provider is the external service that you're using with authentik to login

sharp geyser
#

Right so a provider as in like Discord, Google, Microsoft?

prime cliff
#

Discord is a social account connection

sharp geyser
#

Oh wait

#

Authentik's terminology is different than what im used to

#

Providers are what is being used to authenticate with authentik

#

sources are what can be used to authenticate such as Discord, Google, or Microsoft

#

from my understanding

prime cliff
#

Basically authentik is like Discord accounts but you can use Authentik (Discord) to login to the providers (Top.gg) then that project (Top.gg) gets your user data from authentik to use

sharp geyser
#

Gotcha

prime cliff
#

Social accounts are the reverse you connect them to your authentik account as a secondary way to login to Authentik like passwordless/2fa login

sharp geyser
#

Interesting

#

Appreciate all this information

#

I will keep playing around with it

warped glacier
#

I swear. 4 days since my reapply for intents, Im ssry still locked.

warped glacier
#

Im planning to switch to proxmox soon. My system meets min requirements to run it and honeslty tired of dealing with casaos and there non existant support.

#

Any advice b4 i switch?

#

Im planning either proxmox or a actual instullation of PTERODACTYL

#

Both would work well. I need your opinion on proxmox tho.

vapid berry
#

learn how the ui works before you install it

#

because the ui can be confusing

#

especially firewall rules

warped glacier
#

How am i ment to learn the ui?

vapid berry
#

Just read the docs

warped glacier
#

Also i shouldent need any firewall rules. All id be running is local instances. Nothing going past that pc really. Maybe some local storage too.

#

Im more or less deciding to switch due to the lack of support for my old system (Casaos)

warped glacier
# vapid berry Just read the docs

Tbh just started reading the setup docs. Pterodactyl is harder then this already. PTERO you have to install Every Little Single Thing to get it to run. This does alot for ya.

vapid berry
#

yup

warped glacier
#

Im prob gonna hold off a sec till i get some new parts. But this is showing better pot.

copper rapids
#

รง.

vital mirage
#

Development in a nutshell

#

That too

prisma nebula
#

Lol

ivory hawk
surreal sage
#

yeah seeing this now...

#

http basic auth

#

seeing 14 cpu threads at 100%

delicate zephyr
#

:^)

#

besides not needing to setup hosts and routes for everything docker

#

what do you use traefik for lol

surreal sage
#

It's just a reverse proxy for me

delicate zephyr
#

use Kong + Konga

surreal sage
#

cough using coolify

delicate zephyr
#

ah fair

neon horizon
muted zealot
#

@knotty night tysm sir for approving my bot EclipseX

knotty night
sharp geyser
#

What exactly is traefik

#

I heard its a reverse proxy, so how does it differ from nginx

delicate zephyr
sharp geyser
#

wait what

delicate zephyr
sharp geyser
#

interesting

#
  postgresql:
    container_name: authentik-postgres
    image: docker.io/library/postgres:16-alpine
    restart: unless-stopped
    healthcheck:
      test: ["CMD-SHELL", "pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}"]
      start_period: 20s
      interval: 30s
      retries: 5
      timeout: 5s
    volumes:
      - database:/var/lib/postgresql/data
    environment:
      POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
      POSTGRES_USER: ${POSTGRES_USER}
      POSTGRES_DB: ${POSTGRES_DB}
    env_file:
      - /home/dyeaaronjr/authentik/.env

Can you not specify env files like this? Because when using devspace it returns an error that the accessed variables POSTGRES_USER,POSTGRES_DB,POSTGRES_PASSWORD are not set

#

Is this not allowed in docker?

delicate zephyr
#

i thought env_file had to be inline

#

env_file: /dyeaaronjr/authentik/.env
or
env_file: ./.env

wheat mesa
sharp geyser
#

No

#

Thereโ€™s multiple syntax for how to do things this is one of em

wheat mesa
#

Pretty sure you do, unless itโ€™s optional

#

Ah

sharp geyser
#

Using dashes if you want to use =

#

Otherwise you can just use :

sharp geyser
delicate zephyr
#

tis how I do it

#

so didnt know lol

sharp geyser
#

Hm

#

Idk man

#

This is confusing

warped glacier
# vapid berry yup

Switching now to proxmox. Still gonna use PTERO for now just bc im use to it. But this is gonna be alot better.

#

My current system SUCKS

#

Casaos is advertised as "User Friendly" Its not

neon leaf
#

I put the ddup in ddup-bak ๐Ÿ”ฅ

total 12
-rw-r--r-- 1 root root 8466 Apr 18 19:09 test1.ddup```
```root@remotedev:~/projects/0x7d8/ddup-bak/testing/.ddup-bak/archives-restored/test1/a/mcheli# mcvcli version
checking installed version ...
checking installed version ... DONE

installed jar location: server.jar
installed jar version:
  type:    FORGE
  version: 1.12.2 (outdated)
  build:   14.23.5.2860 (latest)
installed java version: 8
root@remotedev:~/projects/0x7d8/ddup-bak/testing/.ddup-bak/archives-restored/test1/a/mcheli#```
#

880MB turned into a 8.5KB archive (chunks stored in another place, referenced via id which is resolved to a hash via a chunk index)

sharp geyser
#

I have no fuckin clue what you are doin

#

but it seems cool

#

and you seem to be enjoying it

#

so gj

warped glacier
#

ITS ALIVE !!!!

#

Now to setup a vm for the bots on 100

#

This is scary. Idk what i did

#

@vapid berry What did i do?

#

When you can look

sharp geyser
#

Is that grafana?

warped glacier
#

Thats under the lvm tab

#

Idk why its using 2TB tho. The actual OS is like 30GB

#

Unless its reserving it for some reason

vapid berry
#

i havent had an issue like that

#

you can probably just ignore it

warped glacier
#

Will i have the 2tb avalible?

vapid berry
#

if you've allocated a 2tb drive i dont see why not

warped glacier
#

I dont mind ignoring it as long as i can use some storage

#

Its a 2.5TB drive i believe. I expect proxmox to take 30gb

neon leaf
#

did you allocate your vm 2tb?

warped glacier
#

I have no VM setted up yet.

neon leaf
#

uh

#

weird then

warped glacier
#

This is all just proxmox rn

#

I was grabbing the ISO for the VM

#

and noticed

neon leaf
#

ah lvm

#

(I always nuke lvm)

#

should be fine

vapid berry
#

I setup my proxmox instance forever ago so im a bit rusty on how the setup goes

warped glacier
#

Im sure i screwed smth up. Just not sure what

#

Im also surprised this pc is actually running it ok

vapid berry
#

I mean you can always wipe it and start over

warped glacier
#

Less then 1gb ram used idle

warped glacier
#

Proxmox is only like 30GB from what i have seen. Why is the LVM taking 2TB

neon leaf
#

the default proxmox lvm setup makes a 1.9tb volume for vm disks

#

and gives rest to system

#

(stupid)

warped glacier
#

Thats is dumb ASF

neon leaf
#

i usually install proxmox with btrfs

warped glacier
#

Fortunetly i am only running VM so it wont affect me too much

#

This is already better then my works system lol

patent hemlock
#

upvote upvote ๐Ÿ‘ ๐Ÿ‘ ๐Ÿ‘

hidden gorge
#

Am i doing this wrong?

delicate zephyr
#

ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem is really really old btw, most modern setups dont need it

delicate zephyr
#

doesnt matter, it's not really required

hidden gorge
delicate zephyr
#

are you connecting via https

#

cause that looks like it's very much a wss connection

hidden gorge
delicate zephyr
#

its working?

#

so wdym "it's ignoring it"

#

nvm

#

weird

#

I seem to be able to connect tho

#

so idk what you mean by its ignoring it

#

aaand disconnected

#

@hidden gorge

#

it's definitely working lmao

#

ps: add auth pls (ik u will)

hidden gorge
delicate zephyr
#

lmfao

hidden gorge
#

i thought it was my friend ๐Ÿ˜ญ

delicate zephyr
#

LMAOOOOO

hidden gorge
#

rn im just testing comms between roblox and websockets

vital mirage
eternal osprey
#

hey, can i make a copy button?

#

Like i saw a server that was able to make a copy to clipboard button lmao

prime cliff
#

You mean in your own website or?

#

You can't to do copy to clipboard with bot buttons

queen needle
#

In a website you can using the navigator web API

delicate zephyr
#

so it'll disable the previous action if a new one is started before it finishes

prime cliff
#

Does anyone have any cool online tools or resources that they use which would be nice to add, i currently have these.

snow ingot
#

Hello

#

How do i use HTML and css in my bot's profile page ?

rustic nova
prime cliff
queen needle
#

I use it a lot for apis

#

just take their json response, paste it in there, boom a type/types

prime cliff
queen needle
#

Audio tools?/converter?

#

also if you add so many tools id reccomend making it searchable/categorized

snow ingot
#

How do i use HTML and CSS in my bot's profile page ?

prime cliff
queen needle
#

Color/theme generator/palette generator

#

im trying to think of developer tools

prime cliff
#

I think theres that color rgb/hex website

queen needle
#

is this for your portainer esque app?

prime cliff
#

Yup it is, working on a dashboard for home page to add these tools

queen needle
#

what about an option to add your own tool too then?

prime cliff
#

Sort of like a shortcuts tab yea would be nice

#

Both for users and team-wide

queen needle
#

Because I have a couple websites I know I would use but wouldn't be like for everyone type thing

#

Is that dashboard site wide or per server

prime cliff
#

For the user itself

#

Or do you mean like?

queen needle
#

is the dashboard on the site, or for each container

prime cliff
#

You run the website with docker and then run any agent/server nodes with docker on any servers you want to manage.

#

Then you create a team/organization to add those servers and other future services

queen needle
#

so like youd run devspace, and could manage per se your 5 discord bots which are running on servers as services on there?

prime cliff
#

Yea from across multiple servers

queen needle
#

Would the dashboard page be one per devspace or one per service you run?

prime cliff
#

The dashboard page would just be the users own personal one

#

So any teams, resources and tools they have access to

#

Like what azure portal does with categories, tools and recent or pinned resources

queen needle
#

ahhh okay

prime cliff
#

I'm working on getting full docker support atm which is on-par with portainer and working on future updates with a lot of neat built-in tools

queen needle
#

For your calendar you should add natural language if you don't have it, so you can just say like idk "appointment 2 weeks from today at 5 pm"

#

although that's probably not needed/fitting given the use

prime cliff
#

You mean like voice assistant features that would be kind of interesting to add although not really a main feature

queen needle
#

well like just typing it, like you could click on a date and add an event or just type something like that, and it would use NLP to get what you're adding (appointment) and the date

prime cliff
#

I would see how google and outlook (old) do their calendars and then adapt from it

queen needle
#

that's fair, i use google and notion calendar

prime cliff
#

I could add notion integration too

queen needle
#

I like all of notions products

#

notion mail is one of my favorite

sharp geyser
ivory hawk
prisma nebula
#

Hey

#

Any idea why bold isnt working in

small tangle
#

You're missing **

hidden gorge
#

atp should i be worried thats its just spiking?

limpid onyx
#

network latency happens Shiru_shrug

hidden gorge
neon leaf
#

eu:
hits: 129004
misses: 18749
us-east:
hits: 323842
misses: 18826
sg:
hits: 4459
misses: 2344

(last 2 days)
very good hit to miss ratio ig

hidden gorge
#

Is this concept good enough for a support dashboard?

neon leaf
#

sure but shouldnt pending tickets be green when less?

sharp geyser
#

Yea I agree

#

if its less green, more red

neon leaf
sharp geyser
#

If its down, its not a bad thing

#

You want your pending tickets to be down

#

So make it green indicating something good

#

if pending tickets are on the rise, that means they aren't being handled fast enough

#

so make it red indicating something bad

neon horizon
#

Hallo zusammen wenn ich das ganze deaktiviere (0) kommt der text das es deaktiviert ist doch wenn die DB aus 1 ist kommt der meme nicht doch wieso ?

async def meme(interaction: discord.Interaction):
    guild_id = interaction.guild_id
    meme_enabled = await db.get_setting(guild_id, "meme_feature")

    if meme_enabled != 1:
        await interaction.response.send_message(":x: Der Meme-Befehl ist fรผr diesen Server deaktiviert!", ephemeral=True)
        return

    async with aiohttp.ClientSession() as session:
        async with session.get("https://meme-api.com/gimme") as meme_resp:
            if meme_resp.status == 200:
                json_data = await meme_resp.json()
                meme_url = json_data.get("url")

                if meme_url:
                    embed = discord.Embed(title="Hier ist dein Meme :joy:", color=discord.Color.random())
                    embed.set_image(url=meme_url)
                    await interaction.response.send_message(embed=embed)
                else:
                    await interaction.response.send_message("Konnte kein Meme finden. :cry:", ephemeral=True)
            else:
                await interaction.response.send_message("Fehler beim Abrufen des Memes. :cry:", ephemeral=True)```
#

wenn das ganze local lรคuft geht es doch auf meinem server Nicht !!!

subtle hare
#

can anyone tell me how to make a bot online and working i got code but idk how to make it work

deft wolf
#

Run it either on your computer (which is not always a good idea if you downloaded the code from the internet) or on a server you rent

subtle hare
#

i cant run it 24/7

#

on my pc

#

i wont run my pc all day

#

where can i do it then

deft wolf
#

You can if you pay for a 24/7 server

#

VPS for example

subtle hare
#

is there any free way

#

like i got no money

deft wolf
#

There are free hostings but usually your bot won't work because of the cloudflare ban, there are also free trials from larger providers but they require a credit card and there is also an option to make a http only bot using cloudflare workers for free afaik

subtle hare
deft wolf
#

I haven't used it personally, but someone on this server did, from what I remember at least

sharp geyser
#

@prime cliff since you've used authentik before, I am a bit confused. Am I supposed to be replacing the values here with my own client ID and secret or whats going on

#

Authentik is seeming less and less what I thought it was

small tangle
sharp geyser
#

๐Ÿ’€

small tangle
#

ah wait nvm the wrapped lines of the code snippet confused me

#

well, do you have any errors?

prime cliff
sharp geyser
#

Ah here?

#

Wait

#

this makes so much more sense iara_lul_haha

#

Appreciate it

#

Ton more options that make sense

#

I was wondering why they fuckin blocked google and microsoft

prime cliff
#

Yea that's for user account syncing and stuff not actual account links

sharp geyser
#

Thank you so much val_Prayge

#

So I assume I can just create a user account via the api when they register on my site, and then when I want to say link discord to their user account I can just push them to one of my social login integrations?

#

This looks a lot more extensive

#

time to do more research

prime cliff
#

It has a its own registration page too

sharp geyser
#

Oh?

#

I haven't seen how ot access that yet

#

I was looking for it on the docs

hidden gorge
sharp geyser
prime cliff
#

Open private browser and go to your authentik domain for example auth.fluxpoint.dev

sharp geyser
prime cliff
#

You need to enable registration and customize branding

sharp geyser
#

I am trying to find these options

prime cliff
#

@sharp geyser under System > Brands

sharp geyser
#

Right

#

but how do I enable registration

#

I dont see where

#

Ive looked at every settings option

prime cliff
#

Ah yea they changed that

#

Go to Stages

sharp geyser
#

yuh

prime cliff
#

You should see default-authentication-identity then edit that with a Flow Settings then Entollment

sharp geyser
#

oh shit

#

I figured it out

#

Oh nvm

#

๐Ÿ’€

prime cliff
#

Yea you might have to change the registration stage to allow unauthed users

#

Since it will be disabled by default

#

Or flow should i say

#

default-source-enrollment flow

#

Then change it to no auth required

sharp geyser
#

It's default is already that

#

I am so confused Waaaaaah

sharp geyser
#

I don't get what im doing wrong and why it says Request has been denied all the time

#

There is no auth requirement

prime cliff
#

Refresh?

sharp geyser
#

Tried refreshing yea

prime cliff
#

Try with the flow inspectoror when logged in

#

Go to flows enrollment then inspector

sharp geyser
prime cliff
#

Is the enrollment flow set to no requirement not require no authentication

sharp geyser
prime cliff
#

How are you...

sharp geyser
#

How am I what?

prime cliff
#

What about the flow policies

sharp geyser
prime cliff
#

Idk how you managed to break it xD

sharp geyser
#

Wait

#

this policy might be the cause no?

#

cause its not coming from an external IdP

#

or am I misunderstanding

prime cliff
#

Wait

sharp geyser
#

omg

#

it was the cause

#

๐Ÿ˜ญ

#

You are a godsend

wheat mesa
sharp geyser
#

Yea I fucked the order

#

fixed it

wheat mesa
#

Nah lowkey I like it

#

Be different

sharp geyser
#

lmao

#

Rip

prime cliff
#

Authentik is definitely different and also crazy complex with how it works

sharp geyser
#

looks like it failed to send the confirmation email

#

idk why tho

#

Jesus fucking christ

#

found out why

#

but boy is the error long asf

#

Apparently the email is not verified?!?

#

The error is 791 lines long...

prime cliff
#

Also yea my bad it has nothing to do with enrollment flow i think that's for sso/oauth

#

It's the register flow mine was hidden on the next page, mobile curse

sharp geyser
#

Ah

#

Well I am trying to do email confirmations

#

and turns out something go wrong

prime cliff
#

Yea there will be a log for it